#include<iostream>
#include<unistd.h>
#include<stdlib.h>
using namespace std;

int main()
{
  char* _pwd = getenv("PWD");
  if(_pwd == NULL)
  {
    cout << "Error" << endl;
  }
  else
  {
    cout << _pwd << endl;
  }
  return 0;
}
